/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.ec.order.service.impl.ServiceOrderHelper
   Module Description   :

   Date Created      : 2010/10/29
   Original Author   : cut7man
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.ec.order.service.impl;

import java.util.Collection;

import com.yaodian100.ec.order.entity.ServiceOrderProduct;
import com.yaodian100.ec.order.entity.ServiceOrders;

/**
 * @author cut7man
 * 
 */
public class ServiceOrderHelper {
	private ServiceOrders so;
	private Collection<ServiceOrderProduct> serviceOrderProducts;

	private Integer existServiceType;

	/**
	 * @return the existServiceType
	 */
	public Integer getExistServiceType() {
		return existServiceType;
	}

	/**
	 * @param existServiceType the existServiceType to set
	 */
	public void setExistServiceType(Integer existServiceType) {
		this.existServiceType = existServiceType;
	}

	public enum SERVICE_ORDER_TYPE {
		RETURN(1), CHANGE(2), CANCEL(3), EXCEPTION(4);
		int value;

		SERVICE_ORDER_TYPE(int type) {
			value = type;
		}

		public int getValue() {
			return value;
		}
	}

	/**
	 * @return the so
	 */
	public ServiceOrders getSo() {
		return so;
	}

	/**
	 * @param so the so to set
	 */
	public void setSo(ServiceOrders so) {
		this.so = so;
	}

	/**
	 * @return the serviceOrderProducts
	 */
	public Collection<ServiceOrderProduct> getServiceOrderProducts() {
		return serviceOrderProducts;
	}

	/**
	 * @param serviceOrderProducts the serviceOrderProducts to set
	 */
	public void setServiceOrderProducts(Collection<ServiceOrderProduct> serviceOrderProducts) {
		this.serviceOrderProducts = serviceOrderProducts;
	}

}
